package com.twu.biblioteca.data.entity;

public class User {
    private String userName;
    private String password;
    private boolean isLogin;
    private String name;
    private String email;
    private String phoneNumber;

    public User(String userName,String password,String name,String email,String phoneNumber) {
        this.userName=userName;
        this.password=password;
        this.isLogin=false;
        this.name=name;
        this.email=email;
        this.phoneNumber=phoneNumber;
    }
    public String getUserName() {
        return userName;
    }

    public String getPassword() {
        return password;
    }

    public boolean isLogin() {
        return isLogin;
    }

    public void setLogin(boolean login) {
        isLogin = login;
    }

    public String getName() {
        return name;
    }

    public String getEmail() {
        return email;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }
}
